package pile.pay.config.wxConfig;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 微信退款参数
 */
@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
@ApiModel(value = "微信退款参数WxRefundEntity对象")
public class WxRefundEntity {

    //子商户号
    @ApiModelProperty("子商户号")
    private String subMchid;

    //微信支付订单号
    @ApiModelProperty("微信支付订单号")
    private String transactionId;

    //商户退款订单号
    @ApiModelProperty("商户退款订单号")
    private String outRefundNo;

    //退款理由
    @ApiModelProperty("退款理由")
    private String reason;

    //退款金额
    @ApiModelProperty("退款金额")
    private float refund;

    //原支付金额
    @ApiModelProperty("原支付金额")
    private float total;

    //附加数据
    @ApiModelProperty("附加数据")
    private String attach;

    //充值表ID
    @ApiModelProperty("充值表ID")
    private Integer rechargeId;

    private String amount;


}
